/**
* 作者: clz
* 日期: 2025-04-05 01:48:19
* 备注: 联盟每日捐献表
*/
package com.motu.monstercity.server.game.commondata.union;
import com.motu.monstercity.server.game.base.CommonUtils;
import com.motu.monstercity.server.game.logic.RewardItem;
import com.motu.vertx.module.utility.toolset.Tool;
import io.vertx.core.json.JsonObject;

import java.util.ArrayList;
import java.util.List;

public class UnionDonateMain extends UnionDonateMainModel {

	public static final byte TYPE_1 = 1;//初级捐献
	public static final byte TYPE_2 = 2;//中级捐赠
	public static final byte TYPE_3 = 3;//高级捐赠
	public static final byte TYPE_4 = 4;//道具捐赠



	private List<RewardItem> needItemList = null;
	private List<RewardItem> rewardItemList = null;

	public UnionDonateMain(JsonObject obj) {
		super(obj);
		needItemList = Tool.isEmpty(need) ? new ArrayList<>() : CommonUtils.takeReawrdItemFromStr(need);
		rewardItemList = Tool.isEmpty(reward) ? new ArrayList<>() : CommonUtils.takeReawrdItemFromStr(reward);
	}

	public List<RewardItem> getNeedItemList() {
		return needItemList;
	}
	public List<RewardItem> getRewardItemList() {
		return rewardItemList;
	}




}
